Removed hard coded values from preview