Second database method implemented