Functions And Classes Definitions