changed database course grade attribute into float