reordered prototypes
added level 1 functions