added method declarations in .h