connection to DB was alredy open before this method