updated width and depth to integer data type and added search functionality