utilize try for better readability