added very basic level logic