added graphics utils