added couple of more functions