changed for my own use