made seperate template for class and mixin systems