example for taking profit