added fuctions