some more functions added