fixed return type problem
corrected format