added helper function for better syntax
added M2M related models