making some more functions