attempting to make latex work - using inputs