change function name cart controller