Fixed indentation and reverted variable name from s_time to s_wait