added some functionality to functions file
small changes for human kind, but big for me

i made the category work without adding always new category files.