Some methods
Added data types
Some parameters for the functions