Removed timeout function