Database methods added