separate constant and elements