simplified inputs logic