Added slow in and slow out