Add divide funtion