added in closets train function
added in closets train function