Added Two Generic Input Functions