fixed declaration
two functions added