it's a routine that does the same thing as the PHP shiftin function