variable declaration works