added support for static methods
updated with static methods