ignore idea IDE files
added a few functions