working with profiles
still need rules