added base rules to create function, need to probs rewrite that ish