changes for temolate selection