Fixed wrong variable name.
Implemented Logic and Input Capabilities. kinda.