Attempted implementing put statement (might not work)