created temp class and currently have working logic