added first two functions